FAQs will help you to
find answers to some of the most commonly asked questions about
using the Customize User Interface (CUI) Editor.
Migrating/Upgrading
How do I get my menu customization
from a previous release to work in the new release?
In
past releases this had to be done through a text editor, such as
Notepad. With the CUI Editor, you use the Transfer tab to browse
and select your MNS/MNU, CUI, or CUIx file that contains your menu
customization. Once the previous customization file has been selected,
you drag the user interface elements between two CUIx files. See
To transfer customizations for
more information.
Commands
How do I create a new command
and add it to a user interface element, such as a pull-down menu?
Commands
are created and managed through the Command List pane located in
the lower-left corner of the Customize tab of the CUI Editor. See
To create a command for
more information.
Once the command has
been created, it can be added to or used to create a number of different
user interface elements. To add the command to a menu for example,
expand the menu under the Menus node in the Customizations In <file
name> pane that you want to add the command to and
then drag the command under the menu. See
To create a pull-down menu for
more information.
Menus
Why doesn’t my menu display
on the menu bar?
How do I change the order
of a pull-down menu?
Toolbars
Why do my toolbars not
stay in the same place after I close and restart AutoCAD 2011?
This
happens because of the way menus are loaded into AutoCAD at startup.
This problem only happens when partial and enterprise CUIx files
are used. To resolve this problem, you can use the new /w command
line switch. This causes AutoCAD 2011 to re-initialize the workspace
upon startup and place the toolbars in their correct locations.
See
To restore a workspace with a command line switch for
more information.
Why do my icons on a toolbar
display as a cloud with a question mark after I migrate them using
the Transfer tab in the CUI Editor?
This happens because
the images for the custom icons are not located in the AutoCAD support
file paths. Locate the images using Windows Explorer and add the
images location to the Support File Search Path node under the Files
tab of the Options dialog box, or copy them into the folder:
(Windows XP) <drive>:\Documents
and Settings\<user profile name>\Application Data\Autodesk\<product
name>\<release number>\<language>\Support\Icons
(Windows Vista) <drive>:\Users\<user
profile name>\AppData\Autodesk\<product name>\<release
number>\<language>\Support\Icons
Why does my toolbar flyout
not work?
A flyout might not work
for a few different reasons. There might not be any commands currently
assigned to the toolbar that it is referencing or a control is part
of the toolbar that is being referenced for the toolbar flyout.
Launch the CUI Editor and verify that there are commands on the
toolbar that is being referenced and if there are, make sure there
are no controls on the toolbar such as the Layer list control.
Why do I get an AutoCAD message
box when I try to use a toolbar flyout?
The AutoCAD message
box is displayed because the toolbar that is being referenced for
the toolbar flyout is not found. AutoCAD can’t find the toolbar
because it no longer exists, is not currently loaded because the
partial CUIx file it is in is not loaded, or the alias for the toolbar
has been changed.
Launch the CUI Editor
and select the flyout on the toolbar that currently is not working
properly. In the Properties pane look at the Source Toolbar property.
Use the Find option to look for a toolbar element with an alias
that matches the text string in the Source Toolbar property of the
flyout that does not work. If one is not located, remove the flyout
from the toolbar and drag the toolbar that you want to reference
as a flyout on the toolbar. Close the CUI Editor. The flyout should
now work correctly once again.
Double Click Actions
When I double-click an
object nothing happens. Why is this happening?
There
are a few different reasons why when double-clicking on an object
in the drawing nothing happens. The first and most common problem
is with the system variable PICKFIRST is set to 0. PICKFIRST must
be set to a value of 1 in order for double-click editing to work.
The next possible solution is that double-click editing has been
disabled. Double-click editing is controlled by the system variable
DBLCLKEDIT. If it is set to 0 it is currently turned off. DBLCLKEDIT
should be set to 1.
Workspaces
Why do my changes not appear
after I click Apply?
This
happens because the workspace that you made changes to is not the
current workspace. To resolve this problem, you need to set the
workspace current and then when changes are applied they will appear.
See
To set a workspace current from the CUI Editor for
more information.
Enterprise CUIx Files
How do I edit an enterprise
CUIx file if it is read-only in the CUI Editor?
An enterprise CUIx file can
only be edited when it is loaded as the main CUIx file or as a partial
CUIx file to the main CUIx file. It is recommended that you load
it as the main CUIx file when you need to make edits. If you are
creating a workspace that needs to include user interface elements
from the CUIx file that is normally designated as the main CUIx
file, load the main CUIx file as the enterprise CUIx file. Make
edits to the enterprise CUIx file. See
To modify an enterprise CUIx file for
more information.
CommandsCUI
Manages the customized
user interface elements in the product.
CUIEXPORT
Exports customized settings
from the main CUIx file to an enterprise or partial CUIx file.
CUIIMPORT
Imports customized settings
from an enterprise or partial CUIx file to the main CUIx file.
CUILOADCUIUNLOADOPTIONS
Customizes the program
settings.
QUICKCUI
Displays the Customize
User Interface Editor in a collapsed state.
WORKSPACE
Creates, modifies, and
saves workspaces and makes a workspace current.
System VariablesENTERPRISEMENU
Stores the enterprise
customization file name (if defined), including the path for the
file name.
MENUNAME
Stores the customization
file name, including the path for the file name.
WSCURRENT
Returns the current
workspace name at the Command prompt and sets a workspace to current.